
<!DOCTYPE html>
<html class="no-js">
<head lang="en">

    <#include "../head_import.html" />

</head>
<body>
<#include "../include/top_nav.html">
    <div class="am-cf admin-main">

        <!-- sidebar start -->
        <#include "../template/left.html">
            <!-- sidebar end -->
            <!-- content start-->
            <div class="admin-content">
                <div class="am-cf am-padding">
                    <div class="am-fl am-cf"><@s.m "global.position"/>: <@s.m "template.function"/> - <@s.m "global.add"/></div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <form class="ropt">
                            <input type="button" value="<@s.m "global.backToList"/>" onclick="history.back();"/>
                        </form>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <@p.form id="baseForm" labelWidth="12" action="o_save.do">
                        <@p.text label="template.name" name="filename" required="true" class="required" maxlength="32" help=".html"/>
                        <@p.textarea label="template.content" name="source" wrap="off" rows="20" cols="70" style="width:99%" maxlength="131072"/>
                        <@p.td>
                        <input type="hidden" name="root" value="${root!}"/>
                        <@p.submit code="global.submit"/> &nbsp; <@p.reset code="global.reset"/>
                            </@p.td>
                        </@p.form>

            </div>
    </div>



    </div>

    </div>
</body>
</html>




